package org.smile.homework01.kevin.WithDrawMoney;

public class PurchaseRequest {     //请求类
    private double amount =0;
    private int ID = 0;

    public PurchaseRequest(double amount){
        this.amount = amount;
        this.ID = ID;
    }
    public double getAmount(){
        return amount;
    }
    public int getID(){
        return (int)(Math.random() *1000);
    }

}
